﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DualPlaneFR4Paster.Migrations
{
    public partial class addsomedata : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 2, "头1取料点", 1, "SuckPicker1", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 3, "头2取料点", 1, "SuckPicker2", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 4, "头3取料点", 1, "SuckPicker3", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 5, "头4取料点", 1, "SuckPicker4", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 6, "飞拍起始点", 1, "FlyStartPicker", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 7, "飞拍中止点", 1, "FlyEndPicker", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 8, "下相机标定点", 1, "BottomCameraCalib", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 9, "上相机标定点", 1, "TopCameraCalib", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 10, "上相机旋转中心", 1, "TopCameraCenter", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 11, "载具横边点", 1, "TopCameraHorizontalLine", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });

            migrationBuilder.InsertData(
                table: "XYZRPoints",
                columns: new[] { "Id", "Alias", "Floor", "Name", "R", "X", "Y", "Z" },
                values: new object[] { 12, "载具竖边点", 1, "TopCameraVerticalLine", 78.900000000000006, 11.199999999999999, 134.5, 20.899999999999999 });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 2);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 3);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 4);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 5);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 6);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 7);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 8);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 9);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 10);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 11);

            migrationBuilder.DeleteData(
                table: "XYZRPoints",
                keyColumn: "Id",
                keyValue: 12);
        }
    }
}
